#ifndef __VERTEX_BUFFER_HPP__
#define __VERTEX_BUFFER_HPP__
#include "GL/glew.h"

class VertexBuffer {
    unsigned int _rendererID;
    int _bufferType;
    unsigned int _size;
public:
    VertexBuffer( void const* data, unsigned int size, int bufferType = GL_STATIC_DRAW );
    ~VertexBuffer();

    void changeData( unsigned int size, void const * data );
    void bind() const ;
    void unbind() const ;

    inline unsigned int getID() const {
        return _rendererID;
    }
};


#endif // !__VERTEX_BUFFER_HPP__
